package com.woniu.rabbit.feign;

import com.woniu.common.utils.ResponseData;
import com.woniu.common.dto.ForOrderProductDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author ltyipx
 * @version 1.0
 * @description:TODO
 * @date 2024/8/7 10:32
 */
@FeignClient(name = "product-server")
public interface ProductFeign {
    @GetMapping("/queryGoodsByIds")
    ResponseData<List<ForOrderProductDTO>> queryGoodsByIds(@RequestParam("ids") String[] ids);

}
